package com.zxy.ziems.server.monitor.service;

import com.zxy.ziems.server.monitor.pojo.dto.MonitorDeviceAddDTO;
import com.zxy.ziems.server.monitor.pojo.entity.MonitorGroupDeviceEntity;
import com.zxy.ziems.server.monitor.pojo.vo.MonitorDeviceOldVO;
import com.zxy.ziems.server.monitor.pojo.vo.MonitorDeviceVO;
import com.zxy.ziems.server.monitor.pojo.vo.MonitorGroupDeviceVO;

import java.util.List;

/**
 * @Copyright (C),
 * @ClassName: MonitorGroupDeviceService
 * @Author: yanzhiwei
 * @Description:
 * @Date: 2024/5/16 17:21
 */
public interface MonitorGroupDeviceService {
    /**
     * 获取所有分组设备
     *
     * @return
     */
    public List<MonitorGroupDeviceVO> getDeviceAll();

    /**
     * 修改设备信息
     *
     * @param monitorDeviceAddDTO
     * @return
     */
    boolean updateGroupDevice(MonitorDeviceAddDTO monitorDeviceAddDTO);

    /**
     * 查询分组可分配监控
     *
     * @param groupId
     * @return
     */
    List<MonitorDeviceOldVO> listNoByGroupId(String groupId);

    List<MonitorGroupDeviceEntity> getMonitorGroupDeviceEntityList(String groupId);

    List<MonitorDeviceVO> getList(String monitorGroupId);

    void removeByGroupId(String monitorGroupId);

    Long countByDeviceId(String deviceId);
}
